import easygui as g
t = []
t . append(["*.txt" , "*.log" , "*.rtf" , "*.csv" , "文本文件"])

print(g . fileopenbox(msg=None,title=None,default='*', filetypes = t))
